package cn.kw0501.tms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 出入库记录表
 * </p>
 *
 * @author Aedes
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sto_record")
public class Record implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 仓库id
     */
    private String warehouseId;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 0.入库,1.出库
     */
    private Integer type;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
